package com.devilvan.betrice.poetry.vo;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* @author Evad.Wu
* @Description 古诗文网-头信息表 值对象
* @date 2022-11-29
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "古诗文网-头信息表 值对象")
public class PoetryHeaderVo {
    @Schema(description = "关键字（类型、作者、朝代、形式）")
    @JSONField(alternateNames = {"keyword"})
    private String keyword;
    @Schema(description = "主标题")
    @JSONField(alternateNames = {"title"})
    private String title;
    @Schema(description = "诗经、乐府、楚辞会有副标题")
    @JSONField(alternateNames = {"subTitle"})
    private String subTitle;
    @Schema(description = "作者")
    @JSONField(alternateNames = {"author"})
    private String author;
    @Schema(description = "朝代")
    @JSONField(alternateNames = {"dynasty"})
    private String dynasty;
    @Schema(description = "内容URL")
    private String detailUrl;
}
